package com.adapter.classadapter.self;

public class Phone {
    public void charging(ResourceAdapter resourceAdapter){
        int v = resourceAdapter.get5V();
        if(v == 5){
            System.out.println("输出电压正确");
        } else {
            System.out.println("输出电压不正确");
        }
    }
}
